﻿<Window x:Class="WMVStreamEditor.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:System="clr-namespace:System;assembly=mscorlib"
    Title="WMV Streams Muxer/Demuxer" Height="354" Width="566">
	<Window.Resources>
		<System:String x:Key="NoStreams">Add sources to proceed</System:String>
		<System:String x:Key="OtherStreams">Only Video, Audio and Script streams are allowed</System:String>
		<System:String x:Key="TooManyStreams">Only one stream of a type Video, Audio or Script is allowed</System:String>
		<System:String x:Key="TooManyScripts">Scripts could be copied only from a single source</System:String>
		<System:String x:Key="ReadyToProcess">Ready to process</System:String>
		<System:String x:Key="OnlyScript">At least one Video or Audio stream is required</System:String>
		<System:String x:Key="Done">Done</System:String>
		<System:String x:Key="Processing">Processing...</System:String>
	</Window.Resources>
	<Grid>
		<Label Height="25.96" HorizontalAlignment="Left" VerticalAlignment="Top" Width="53.88" Margin="12,0,0,0">Sources:</Label>
		<TreeView Margin="12,32,93,66" Name="sourcesTree" TabIndex="2">
		</TreeView>
		<Button Height="23" HorizontalAlignment="Right" Margin="0,32,12,0" Name="addButton" VerticalAlignment="Top" Width="75" Click="AddButton_Click" TabIndex="1">Add...</Button>
		<Button HorizontalAlignment="Right" Margin="0,75,12,0" Name="removeButton" Width="75" IsEnabled="False" Click="RemoveButton_Click" Height="23" VerticalAlignment="Top" TabIndex="5" IsTabStop="False">Remove</Button>
		<Button Height="23" HorizontalAlignment="Left" Margin="12,0,0,37" Name="processButton" VerticalAlignment="Bottom" Width="75" IsEnabled="False" TabIndex="3" Click="ProcessButton_Click">Process</Button>
		<Button Height="23" HorizontalAlignment="Right" Margin="0,0,12,37" Name="exitButton" VerticalAlignment="Bottom" Width="75" IsCancel="True" TabIndex="4" Click="ExitButton_Click">Exit</Button>
		<StatusBar Height="31" Name="statusBar" VerticalAlignment="Bottom">
			<Label Name="statusString" VerticalAlignment="Center" Content="{StaticResource NoStreams}" Height="Auto"/>
		</StatusBar>
	</Grid>
</Window>
